package com.mc.common.base;

public enum ResultEnum {

	STATUS_OK_CODE(200,"成功"),

	STATUS_FAILURE(500,"操作失败"),

	UPDATE_VALUE_ERR(501,"修改数据异常"),

	DELETE_VALUE_ERR(502,"删除数据异常"),

	LOGIN_INCORRECT_CREDENTIALS(601,"用户名或密码错误！");

	//编码
	private Integer code;
	//名称
	private String name;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private ResultEnum(Integer code, String name){
		this.code=code;
		this.name=name;
	}


}
